<?php

namespace Lib;

abstract class Data extends \Lib\Db\PdoDB
{
    private $isSlash;
    public function __construct()
    {
        parent::__construct();
    }

    abstract public function getTableName();

    protected function addsla($data)
    {
        if ($this->isSlash) {
            return trim(addslashes($data));
        }

        return $data;
    }
}